<template>
  <div id="app">
    <div class="father">
      <span>小头爸爸今年{{bigAge}}岁</span>
      <div class="son">大头儿子今年{{sonAge}}岁</div>
    </div>
    <div class="mother">围裙妈妈今年{{motherAge}}岁</div>
  </div>
</template>

<script>

export default {
  data(){
    return {
      bigAge:40,
      sonAge:6,
      motherAge:36,
    }
  }
}
</script>

<style  lang="less">
.father{
  width: 500px;
  height: 50px;
  color: black;
  .son{
    width: 200px;
    height: 20px;
    color:red;
  }
}
.mother{
    width: 300px;
    height: 300px;
    color: blue;
  }
</style>
